/*
 * @Author: whs Wuhs_DSL@2022
 * @Date: 2023-01-13 09:24:13
 * @LastEditors: 吴华胜 765510616@qq.com
 * @LastEditTime: 2023-06-14 15:48:52
 * @FilePath: \DSLERP\jshERP-web\src\lang\category.js
 * @Description: 各种订单单据详情翻译，
 * billDetail组件翻译逻辑：目前由于type参数中英文混传，但是英文版的时候从其他地方进入详情（非直接进入详情），type为中文
 * 导致不能渲染和获取column，所以从凡是英文版不能查看详情的，都可以在本文件翻译type
 * 由于分类可能需要特殊标志，比如 '采购入库': 'Purchase [In]',英文版需要用 [In]明确标示，所以用不同对象
 */
// billDetail type
const category = {
    '采购订单': 'Purchase order',
    '采购入库': 'Purchase in',
    '采购退货出库':'Purchase return issue',
    '直发销售退货':'Purchase return issue',
    '直发收款': 'direct collect money',
    '销售订单':'Sales order',
    '销售出库': 'Sales Delivery',
    '其它入库': 'Miscellaneous warehousing',
    '其它出库': 'Other Outbound delivery',
    '厂家到货': 'Arrival of the manufacturer',
    '收费确认':'Issue purchase receipt',
    '直发厂家报价':'Factory purchase order',
    '直发采购退货':'Direct purchase return',
    // '预付款单':'Receive advance payment',
    '预收款单':'advance receipt',
    '支票核销':'check verification',
}
// billDetail title
const titleObj = {
    '采购订单': 'Purchase order',
    '采购入库': 'Purchase in',
    '采购':'Receipt stock',
    '采购退货出库':'Purchase return issue',
    '采购退货':'Purchase return issue',
    '直发销售退货':'Direct sales return',
    '直发收款': 'Direct collect money',
    '直发预收款': 'Direct advances received',
    '销售订单':'Sales order',
    '销售出库': 'Sales Delivery',
    '下达采购': 'Release purchase',
    '厂家到货':'Arrival of the manufacturer',
    '厂家到货到货':'Arrival of the manufacturer',
    '现金':'Cash',
    '厂家直发': 'Factory direct deliver',
    '其它入库': 'Miscellaneous warehousing',
    '其它出库': 'Other Outbound delivery',
    '退货单': 'Returned order',
    '直发厂家报价':'Factory purchase order',
    '收费确认':'Issue purchase receipt',
    '直发采购退货':'Direct purchase return',
    '预付款单':'Receive advance payment',
    '付款':'Payment',
    '运输付款':'Freightage payment',
    '运费':'Freightage',
    '预收款单':'advance receipt',
    '厂家报价':"Manufacturer's quotation",
    '销售退货': 'Sales return',
    '销售退货入库':'Sales return',
    '销售':'Sales delivery',
    '验收单':'Acceptance certificate',
    '验收':'Acceptance certificate',
    '配送':'Delivery order',
    '配送单':'Delivery order',
    '配送出库':'Delivery order',
    '要货申请':'Apply for goods',
    '审批环节':'Approval process',
    '直发预付款': 'Direct advance payment',
    '直发预付': 'Direct advance payment',
    '直发付款': 'Direct payment',
    '直发运输付款': 'Direct freight payment',
    '支票核销':'Check cancellation',
    '收款':'Payment',
    '促销特价订单':'Promotion special order',
    '买满数量赠品活动':'Buy up quantity free gift activity',
    '买满金额减金额活动':'special offer when spending enough',
    '预付款':'advance pay',
    '预收款':'advance received',
    '仓库退货':'Store sales return',
    '零售退货':'Retail return',
    '零售出库':'Retail delivery',
    '仓库销售':'Depot sales',
    '配送单':'Delivery order',
    '每日对账':'Daily reconciliation statement',
    '直发运费':'Direct fee',
    '拆卸单':'Disassembly order',
    '组装单':'Assembly order',
    '要货申请进度':'Purchase application schedule details',
    '其它':'Other',
    '期初库存': 'Primary stock',
    '零售':'Retail out',
    '零售销售':'Retail sale out',
    '验收退货': 'Acceptance out',
    '返利收款':'Rebate receive',
    '返利详情':'Rebate detail',
    '下达采购验收单':'Purchase receive',
    '直发运费单':'Direct freight bill',
    '运费单':'freight bill',
    '盘点报损报溢': 'Report loss and overflow on inventory',
    '盘点单':'Inventory sheet',
}
// material_stock
const enumType = {
    '采购入库': 'Purchase [In]',
    '采购退货出库': 'Purchase return [Out]',
    '销售出库': 'Sales out [Out]',
    '销售退货入库': 'Sales return [In]',
    '配送出库': 'Delivery [Out]',
    '验收入库': 'Acceptance [In]',
    '验收退货出库': 'Acceptance return [Out]',
    '其它入库': 'Other in [In]',
    '其它出库': 'Other out [Out]',
    '仓库退货入库': 'Dopet return [In]',
    '仓库销售出库': 'Dopet sales [Out]',
    '期初库存': 'Primary stock [Default]',
    '期初库存其它': 'Primary stock [Default]',
    '零售出库': 'Retail out [Out]',
    '零售退货入库':'Retail return [In]',
    '零售销售出库':'Retail sale out [out]',
    '拆卸单':'Disassembly order',
    '组装单':'Assembly order',
}
// 销售退货表体备注
const salseBackRemark ={
    '销售报损':'Salse break',
    '销售换货':'Salse exchange',
    '采购换货':'Purchase break',
    '采购报损':'Purchase exchange',
}
const directScheduleRemark = {
    '直发销售退货':'Direct sales return',
    '销售换货':'Salse exchange',
    '销售报损':'Salse break',
    '零售销售出库':'Retail sales out'
}
const billDetailRemarks = {
    '赠品':'gift',
    '销售报损':'Salse break',
    '销售换货':'Salse exchange',
    '采购换货':'Purchase break',
    '采购报损':'Purchase exchange',
}
// 
const accountReportType ={
    '直发预付款': 'Direct advance payment',
    '直发预收款': 'Direct advances received',
    '直发付款': 'Direct payment',
    '直发运输付款': 'Direct freight payment',
    '运输付款': 'Freight payment',
    '付款': 'payment',
    '直发收款': 'Direct received',
    '预付款单':'advance payment',
    '直发销售退货': 'Direct sales return',
    '厂家到货': 'Arrival of the manufacturer',
    '厂家到货到货': 'Arrival of the manufacturer',
    '付款':'Pay',
    '付预付款':'Advance payment',
    '支出':'expenditure',
    '支票核销':'Check cancellation',
    '收入':'Income',
    '收款':'Collect money',
    '直发运费':'Direct freight',
    '运费':'Freight',
    '返利收款':'Rebate collection',
    '预付款':'Advance payment',
    '预收款':'Advance payment',
    '预收款单':'Advance receipt',
    '下达采购':'Order purchase',
    '仓库退货入库':'Return to warehouse',
    '其它入库':'Other warehousing',
    '厂家到货到货':'Arival manufacturer',
    '厂家报价':"Manufacturer's quotation",
    '厂家直发':'Factory direct deliver',
    '拆卸单':'Disassembly sheet',
    '收费确认':'Charge recognition',
    '期初库存':'Beginning inventory',
    '盘点单':'Inventory sheet',
    '直发厂家报价':'Direct manufacturers quote',
    '直发采购退货':'Direct purchase returns',
    '直发销售退货':'Straight sales returns',
    '组装单':'Assembly list',
    '要货申请':'Request for goods',
    '配送出库':'Delivery warehouse',
    '采购入库':'Purchase warehousing',
    '采购订单':'Purchase order',
    '采购退货出库':'Purchase and return',
    '销售出库':'Sale out',
    '销售订单':'Sales order',
    '销售退货入库':'Sales returns',
    '零售出库':'Retail delivery',
    '零售退货入库':'Store retail returns',
    '零售销售出库':'Retail sales',
    '验收入库':'Acceptance warehousing',
    '验收退货出库':'Acceptance return',

}

export {
    category,
    enumType,
    billDetailRemarks,
    salseBackRemark,
    titleObj,
    directScheduleRemark,
    accountReportType
}